
package com.example.testtimeclient;

import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.channel.ChannelPipelineFactory;
import org.jboss.netty.channel.Channels;

/**
 * @ClassName: TimeClientPipelineFactory
 * @Description: TODO
 * @author Michael.Pan
 * @date 2012-12-11 下午05:17:51
 */

public class TimeClientPipelineFactory implements ChannelPipelineFactory {

    @Override
    public ChannelPipeline getPipeline() {
        ChannelPipeline pipeline = Channels.pipeline();
        pipeline.addLast("handler", new TimeClientHandler());
        return pipeline;
    }
}
